package com.jyxd.web.data.basic;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "table_nurse_record_form_pipe_length")
@Data
@ApiModel("三合一护理单护理长度")
@TableName("table_nurse_record_form_pipe_length")
public class NurseRecordFormPipeLength extends Model implements Serializable, Cloneable {

    /**
     * 序列
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id
    @Column(name = "id", length = 32, nullable = false)
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
    @ApiModelProperty("Id")
    private String id;

    @ApiModelProperty("关联护理单行id")
    @Column(name = "row_id")
    private String rowId;

    @ApiModelProperty("患者id")
    @Column(name = "patient_id")
    private String patientId;

    @ApiModelProperty("导管名称")
    @Column(name = "pipe_name")
    private String pipeName;

    @ApiModelProperty(name = "是否外露")
    @Column(name = "exposure")
    private String exposure;

    @ApiModelProperty("导管长度")
    @Column(name = "pipe_length")
    private String pipeLength;

    @ApiModelProperty("导管字典id")
    @Column(name = "pipe_dictionary_id")
    private String pipeDictionaryId;

    @ApiModelProperty("状态")
    @Column(name = "status")
    private String status;

    @ApiModelProperty("数据创建时间")
    @Column(name = "create_time")
    private Date createTime;
}
